package com.cqjtu.drive.mapper;

import com.cqjtu.drive.pojo.Administration;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AdministrationMapper {

    Administration getAdministrationById(String administrationId);

    void insertAdministration(Administration administration);

    void updateAdministration(Administration administration);

    void deleteAdministration(String administrationId);

    List<Administration> getAllAdministrations();
}
